package cn.yoyo.entity;

import java.sql.Date;

public class OrderLine extends Order {
    private String account;
    private String nickname;
    private String phone;

    public OrderLine() {
    }

    public OrderLine(String account, String nickname, String phone) {
        this.account = account;
        this.nickname = nickname;
        this.phone = phone;
    }

    public OrderLine(int ordid, int uid, Double amount, int ispay, Date tpay, String address, String phone, Date tcreate, String shopno) {
        super(ordid, uid, amount, ispay, tpay, address, phone, tcreate, shopno);
    }

    @Override
    public int getOrdid() {
        return super.getOrdid();
    }

    @Override
    public void setOrdid(int ordid) {
        super.setOrdid(ordid);
    }

    @Override
    public int getUid() {
        return super.getUid();
    }

    @Override
    public void setUid(int uid) {
        super.setUid(uid);
    }

    @Override
    public Double getAmount() {
        return super.getAmount();
    }

    @Override
    public void setAmount(Double amount) {
        super.setAmount(amount);
    }

    @Override
    public int getIspay() {
        return super.getIspay();
    }

    @Override
    public void setIspay(int ispay) {
        super.setIspay(ispay);
    }

    @Override
    public Date getTpay() {
        return super.getTpay();
    }

    @Override
    public void setTpay(Date tpay) {
        super.setTpay(tpay);
    }

    @Override
    public String getAddress() {
        return super.getAddress();
    }

    @Override
    public void setAddress(String address) {
        super.setAddress(address);
    }

    @Override
    public Date getTcreate() {
        return super.getTcreate();
    }

    @Override
    public void setTcreate(Date tcreate) {
        super.setTcreate(tcreate);
    }

    @Override
    public String getShopno() {
        return super.getShopno();
    }

    @Override
    public void setShopno(String shopno) {
        super.setShopno(shopno);
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    @Override
    public String getPhone() {
        return phone;
    }

    @Override
    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "OrderLine{" +
                "account='" + account + '\'' +
                ", nickname='" + nickname + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
